#include "Pf.h"

namespace pf
{
	static PlatformHandle	g_hPlatform;
	PlatformHandle CreatePlatform();

	void Initialise(InitParamsHandle hInitParams)
	{
		g_hPlatform = CreatePlatform();
		g_hPlatform->Initialise(hInitParams);
	}

	PlatformHandle		GetPlatform()
	{
		return g_hPlatform;
	}

	void				Shutdown()
	{
		g_hPlatform->Shutdown();
		g_hPlatform.Destroy();
	}
}